package com.lsh.oms.api.service.payment;

import com.alibaba.fastjson.JSONObject;
import com.lsh.base.common.model.CommonResult;
import com.lsh.oms.api.model.payment.OrderOnlinePayRequestDTO;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author wangliutao
 * @date 18/5/29
 */
public interface IOrderPaymentOnlineRestService {

    /**
     * 订单支付
     * @param orderOnlinePayRequestDTO
     * @return
     */
    CommonResult<JSONObject> orderPay(OrderOnlinePayRequestDTO orderOnlinePayRequestDTO);

    /**
     * 订单支付查询
     * @param orderCodes
     * @return
     */
    CommonResult<JSONObject> orderPayQuery(String orderCodes);

    CommonResult<Map<String,String>> getPayChannel();
}
